#ifndef MESSAGEREQUEST_H
#define MESSAGEREQUEST_H

#include "network/networkconnectionjsonrequest.h"


namespace Converse {
class AbstractMessage;
}

class MessageRequest : public Network::ConnectionJSONRequest
{
    Q_OBJECT
public:
    MessageRequest(const Converse::AbstractMessage &message, QObject *parent = 0);
    virtual ~MessageRequest();

private:
    const Converse::AbstractMessage &m_message;

public:
    QString commandId() const;
    QVariant data() const;
};

#endif // MESSAGEREQUEST_H
